﻿using System;
using System.Threading;

using Newtonsoft.Json;
using System.Linq;
using System.Net.NetworkInformation;
using System.Net.Sockets;
using System.Net;
using System.Text;
using System.Collections.Generic;
using UtilsBase;
using UtilsCache;
using ArpLookup;
using UtilsBase.Error;
using UtilsMQ;
using GatewayClient;
using GatewayClient.Models;



Console.WriteLine("************************************************************");
Console.WriteLine("***************网关启动*************************");
Console.WriteLine("***************时间:" + System.DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss").ToString() + "*************************");
Console.WriteLine("***************环境:"+ UtilsMachineInfo.getRumEnvironment() + "*************************");
Console.WriteLine("************************************************************");

//运行多线程
RunOnline.Run();

//ServiceThreadChannelForSerial.readChannelsCount();
Console.ReadLine();